package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="科室")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "department_class")
public class DepartmentClass implements Serializable {
    /**
     * 科室ID
     */
    @TableId(value = "dpc_id", type = IdType.AUTO)
    @ApiModelProperty(value="科室ID")
    private Integer dpcId;

    /**
     * 科室名称
     */
    @TableField(value = "dpc_name")
    @ApiModelProperty(value="科室名称")
    private String dpcName;

    /**
     * 所属部门ID
     */
    @TableField(value = "dp_id")
    @ApiModelProperty(value="所属部门ID")
    private Integer dpId;

    /**
     * 科室描述
     */
    @TableField(value = "dpc_description")
    @ApiModelProperty(value="科室描述")
    private String dpcDescription;

    /**
     * 是否是治疗科室
     */
    @TableField(value = "dpc_iscure")
    @ApiModelProperty(value="是否是治疗科室")
    private String dpcIscure;

    private static final long serialVersionUID = 1L;
}
